package com.jumaojiang.constant;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * 常量配置
 *
 * @author wuhanwei
 * @version 1.0
 * @date 2021/11/11
 */
@Configuration
@PropertySource(value = "classpath:app.properties")
public class AppConfig {
    @Value("${file.save.path}")
    private String fileSavePath;
    @Value("${file.save.dir.name}")
    private String fileSaveDirName;

    public String getFileSavePath() {
        return fileSavePath;
    }

    public void setFileSavePath(String fileSavePath) {
        this.fileSavePath = fileSavePath;
    }

    public String getFileSaveDirName() {
        return fileSaveDirName;
    }

    public void setFileSaveDirName(String fileSaveDirName) {
        this.fileSaveDirName = fileSaveDirName;
    }
}
